package com.ldzl.mapper;

import com.ldzl.pojo.CkStorageArea;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 风止
* @description 针对表【ck_storage_area(库位表)】的数据库操作Mapper
* @createDate 2025-07-03 09:32:13
* @Entity com.ldzl.pojo.CkStorageArea
*/
public interface CkStorageAreaMapper extends BaseMapper<CkStorageArea> {

    /**
     * 查询指定库区下的所有库位
     * @param area
     * @return
     */
    List<CkStorageArea> selectArea(CkStorageArea area);

    /**
     * 删除库区下的库位
     * @param location_id
     * @return
     */
    int delete_location_id(@Param("location_id") Long location_id);
}




